package routefinder.renderer;

import java.io.OutputStream;
import java.util.Map;

/**
 * Defines an extensible way of showing the application's results.
 *
 * @author luky
 */
public interface IRenderer {
    /**
     * Renders the data using the supplied parameters to an output stream.
     *
     * @param parameters a map containing parameters that will be avaiable when rendering the output.
     * @param output where the rendered data will be written.
     */
    public void render(Map<String, Object> parameters, OutputStream output);
}
